package com.iwayin.core.dao.setting;

import com.iwayin.core.dataobject.EmailSettingDO;

/**
 * 邮件接收设置
 * @author harry
 *
 */
public interface EmailSettingDAO {
	/**
	 * 设置邮件通知
	 * @param es
	 */
	public void createEmailSetting(EmailSettingDO es);
	/**
	 * 更新邮件通知
	 * @param es
	 * @return
	 */
	public Integer updateEmailSetting(EmailSettingDO es);
	/**
	 * 获得个人email通知设置
	 * @param userId
	 * @return
	 */
	public EmailSettingDO getEmailSettingDO(Long userId);

}
